﻿#include "uio.h"
#include "Game.h"
#include <conio.h>
int main()
{
    PEN pen(GetStdHandle(STD_OUTPUT_HANDLE));
    Game BB(pen);
    BB.StartGame();
    while (1)
    {
        int ch = _getch();
        BB.onkeydown(ch);
        if (BB.end_of_game())
            break;
    }
}
